﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Membership.master" AutoEventWireup="true" CodeFile="AddUser.aspx.cs" Inherits="Admin_MembershipProvider_Access_AddUser" Title="Add User" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register Src="~/Admin/MembershipProvider/Access/Controls/AccessRules.ascx" TagName="AccessNav" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<br />
<table class="webparts">
        <tr>
            <th>
                Add User
            </th>
        </tr>
    
    <tr><td><uc1:AccessNav ID="ucAccessNav" runat="server" /></td></tr>
        <tr>
            <td class="details" valign="top">
                <h3>
                    Roles:</h3>
                <asp:CheckBoxList ID="UserRoles" runat="server" />
                <h3>
                    Main Info:</h3>
                <table>
                    <tr>
                        <td class="detailheader">
                            Active User
                        </td>
                        <td>
                            <asp:CheckBox ID="isapproved" runat="server" Checked="true" />
                        </td>
                    </tr>
                    <tr>
                        <td class="detailheader">
                            User Name
                        </td>
                        <td>
                          
                            <telerik:RadTextBox ID="username" runat="server">
                            </telerik:RadTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="detailheader">
                            Password
                        </td>
                        <td>
                         
                            <telerik:RadTextBox ID="password" runat="server" TextMode="Password">
                            </telerik:RadTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="detailheader">
                            Email
                        </td>
                        <td>
                           
                            <telerik:RadTextBox ID="email" runat="server">
                            </telerik:RadTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="detailheader">
                            Comment
                        </td>
                        <td>
                          
                            <telerik:RadTextBox ID="comment" runat="server">
                            </telerik:RadTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <br />
                          
                            <asp:Button ID="btnAddUser" runat="server" Text="Add User" OnClick="btnAddUser_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <div id="ConfirmationMessage" runat="server" class="alert">
                            </div>
                        </td>
                    </tr>
                </table>
                <asp:ObjectDataSource ID="MemberData" runat="server" DataObjectTypeName="System.Web.Security.MembershipUser"
                    SelectMethod="GetUser" UpdateMethod="UpdateUser" TypeName="System.Web.Security.Membership">
                    <SelectParameters>
                        <asp:QueryStringParameter Name="username" QueryStringField="username" />
                    </SelectParameters>
                </asp:ObjectDataSource>
            </td>
        </tr>
    </table>
</asp:Content>

